\hypertarget{class_quaternion}{\section{Quaternion Class Reference}
\label{class_quaternion}\index{Quaternion@{Quaternion}}
}


{\ttfamily \#include $<$algebra\-Basic.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_quaternion_abcc01358aada56ea5f0db4da18aaf77d}{Quaternion} ()
\item 
\hyperlink{class_quaternion_a9eb4fa0a424537a2925c1dd9d1077740}{Quaternion} (double \hyperlink{class_quaternion_a65c93d8db6c57203447bd0594b608512}{x}, double \hyperlink{class_quaternion_acfea23e3ba2b57356fe36b4d8f4c52f3}{y}, double \hyperlink{class_quaternion_a90bbdb05526bddfbc3247dcc9a5cace4}{z}, double \hyperlink{class_quaternion_aeded08fcb4e8d0866e612ed81cb44aa7}{w})
\item 
\hyperlink{class_quaternion}{Quaternion} \hyperlink{class_quaternion_ae01fa6b7c502d8568f70d9ad69f9f190}{operator$\ast$} (const \hyperlink{class_quaternion}{Quaternion} \&Right) const 
\item 
\hyperlink{class_quaternion}{Quaternion} \hyperlink{class_quaternion_a4e95e313092a56a49d88dd6c13ecdfdc}{operator+} (const \hyperlink{class_quaternion}{Quaternion} \&Right) const 
\item 
\hyperlink{class_quaternion}{Quaternion} \hyperlink{class_quaternion_a2ffa84d53618cbcf6f03bd451cfc4246}{operator-\/} (const \hyperlink{class_quaternion}{Quaternion} \&Right) const 
\item 
\hyperlink{class_quaternion}{Quaternion} \hyperlink{class_quaternion_a0d062e054d931d567aedab390706fc97}{operator-\/} () const 
\item 
double \hyperlink{class_quaternion_a9fefefad4eda30456c895a4582b0c40b}{magnitude} ()
\item 
\hyperlink{class_quaternion}{Quaternion} \& \hyperlink{class_quaternion_afe76b3dfe50f292d01d29b0de910f2b7}{operator+=} (const \hyperlink{class_quaternion}{Quaternion} \&right)
\item 
\hyperlink{class_quaternion}{Quaternion} \& \hyperlink{class_quaternion_ac20c51924abb900b81ffbfbecfe6f810}{operator-\/=} (const \hyperlink{class_quaternion}{Quaternion} \&right)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{class_quaternion_a65c93d8db6c57203447bd0594b608512}{x}
\item 
double \hyperlink{class_quaternion_acfea23e3ba2b57356fe36b4d8f4c52f3}{y}
\item 
double \hyperlink{class_quaternion_a90bbdb05526bddfbc3247dcc9a5cace4}{z}
\item 
double \hyperlink{class_quaternion_aeded08fcb4e8d0866e612ed81cb44aa7}{w}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 165 of file algebra\-Basic.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_quaternion_abcc01358aada56ea5f0db4da18aaf77d}{\index{Quaternion@{Quaternion}!Quaternion@{Quaternion}}
\index{Quaternion@{Quaternion}!Quaternion@{Quaternion}}
\subsubsection[{Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_quaternion_abcc01358aada56ea5f0db4da18aaf77d}


Definition at line 170 of file algebra\-Basic.\-h.



References w, x, y, and z.

\hypertarget{class_quaternion_a9eb4fa0a424537a2925c1dd9d1077740}{\index{Quaternion@{Quaternion}!Quaternion@{Quaternion}}
\index{Quaternion@{Quaternion}!Quaternion@{Quaternion}}
\subsubsection[{Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}Quaternion\-::\-Quaternion (
\begin{DoxyParamCaption}
\item[{double}]{x, }
\item[{double}]{y, }
\item[{double}]{z, }
\item[{double}]{w}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_quaternion_a9eb4fa0a424537a2925c1dd9d1077740}


Definition at line 177 of file algebra\-Basic.\-h.



References w, x, y, and z.



\subsection{Member Function Documentation}
\hypertarget{class_quaternion_a9fefefad4eda30456c895a4582b0c40b}{\index{Quaternion@{Quaternion}!magnitude@{magnitude}}
\index{magnitude@{magnitude}!Quaternion@{Quaternion}}
\subsubsection[{magnitude}]{\setlength{\rightskip}{0pt plus 5cm}double Quaternion\-::magnitude (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_quaternion_a9fefefad4eda30456c895a4582b0c40b}


Definition at line 432 of file algebra\-Basic.\-cpp.



References math\-::root\-\_\-axel(), w, x, y, and z.

\hypertarget{class_quaternion_ae01fa6b7c502d8568f70d9ad69f9f190}{\index{Quaternion@{Quaternion}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!Quaternion@{Quaternion}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Quaternion} Quaternion\-::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{const {\bf Quaternion} \&}]{Right}
\end{DoxyParamCaption}
) const}}\label{class_quaternion_ae01fa6b7c502d8568f70d9ad69f9f190}


Definition at line 369 of file algebra\-Basic.\-cpp.



References w, x, y, and z.

\hypertarget{class_quaternion_a4e95e313092a56a49d88dd6c13ecdfdc}{\index{Quaternion@{Quaternion}!operator+@{operator+}}
\index{operator+@{operator+}!Quaternion@{Quaternion}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Quaternion} Quaternion\-::operator+ (
\begin{DoxyParamCaption}
\item[{const {\bf Quaternion} \&}]{Right}
\end{DoxyParamCaption}
) const}}\label{class_quaternion_a4e95e313092a56a49d88dd6c13ecdfdc}


Definition at line 381 of file algebra\-Basic.\-cpp.



References w, x, y, and z.

\hypertarget{class_quaternion_afe76b3dfe50f292d01d29b0de910f2b7}{\index{Quaternion@{Quaternion}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!Quaternion@{Quaternion}}
\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Quaternion} \& Quaternion\-::operator+= (
\begin{DoxyParamCaption}
\item[{const {\bf Quaternion} \&}]{right}
\end{DoxyParamCaption}
)}}\label{class_quaternion_afe76b3dfe50f292d01d29b0de910f2b7}


Definition at line 414 of file algebra\-Basic.\-cpp.



References w, x, y, and z.

\hypertarget{class_quaternion_a2ffa84d53618cbcf6f03bd451cfc4246}{\index{Quaternion@{Quaternion}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!Quaternion@{Quaternion}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Quaternion} Quaternion\-::operator-\/ (
\begin{DoxyParamCaption}
\item[{const {\bf Quaternion} \&}]{Right}
\end{DoxyParamCaption}
) const}}\label{class_quaternion_a2ffa84d53618cbcf6f03bd451cfc4246}


Definition at line 392 of file algebra\-Basic.\-cpp.



References w, x, y, and z.

\hypertarget{class_quaternion_a0d062e054d931d567aedab390706fc97}{\index{Quaternion@{Quaternion}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!Quaternion@{Quaternion}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Quaternion} Quaternion\-::operator-\/ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{class_quaternion_a0d062e054d931d567aedab390706fc97}


Definition at line 403 of file algebra\-Basic.\-cpp.



References w, x, y, and z.

\hypertarget{class_quaternion_ac20c51924abb900b81ffbfbecfe6f810}{\index{Quaternion@{Quaternion}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!Quaternion@{Quaternion}}
\subsubsection[{operator-\/=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Quaternion} \& Quaternion\-::operator-\/= (
\begin{DoxyParamCaption}
\item[{const {\bf Quaternion} \&}]{right}
\end{DoxyParamCaption}
)}}\label{class_quaternion_ac20c51924abb900b81ffbfbecfe6f810}


Definition at line 423 of file algebra\-Basic.\-cpp.



References w, x, y, and z.



\subsection{Member Data Documentation}
\hypertarget{class_quaternion_aeded08fcb4e8d0866e612ed81cb44aa7}{\index{Quaternion@{Quaternion}!w@{w}}
\index{w@{w}!Quaternion@{Quaternion}}
\subsubsection[{w}]{\setlength{\rightskip}{0pt plus 5cm}double Quaternion\-::w}}\label{class_quaternion_aeded08fcb4e8d0866e612ed81cb44aa7}


Definition at line 168 of file algebra\-Basic.\-h.



Referenced by magnitude(), operator$\ast$(), operator+(), operator+=(), operator-\/(), operator-\/=(), and Quaternion().

\hypertarget{class_quaternion_a65c93d8db6c57203447bd0594b608512}{\index{Quaternion@{Quaternion}!x@{x}}
\index{x@{x}!Quaternion@{Quaternion}}
\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}double Quaternion\-::x}}\label{class_quaternion_a65c93d8db6c57203447bd0594b608512}


Definition at line 168 of file algebra\-Basic.\-h.



Referenced by magnitude(), operator$\ast$(), operator+(), operator+=(), operator-\/(), operator-\/=(), and Quaternion().

\hypertarget{class_quaternion_acfea23e3ba2b57356fe36b4d8f4c52f3}{\index{Quaternion@{Quaternion}!y@{y}}
\index{y@{y}!Quaternion@{Quaternion}}
\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}double Quaternion\-::y}}\label{class_quaternion_acfea23e3ba2b57356fe36b4d8f4c52f3}


Definition at line 168 of file algebra\-Basic.\-h.



Referenced by magnitude(), operator$\ast$(), operator+(), operator+=(), operator-\/(), operator-\/=(), and Quaternion().

\hypertarget{class_quaternion_a90bbdb05526bddfbc3247dcc9a5cace4}{\index{Quaternion@{Quaternion}!z@{z}}
\index{z@{z}!Quaternion@{Quaternion}}
\subsubsection[{z}]{\setlength{\rightskip}{0pt plus 5cm}double Quaternion\-::z}}\label{class_quaternion_a90bbdb05526bddfbc3247dcc9a5cace4}


Definition at line 168 of file algebra\-Basic.\-h.



Referenced by magnitude(), operator$\ast$(), operator+(), operator+=(), operator-\/(), operator-\/=(), and Quaternion().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/\hyperlink{algebra_basic_8h}{algebra\-Basic.\-h}\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/\hyperlink{algebra_basic_8cpp}{algebra\-Basic.\-cpp}\end{DoxyCompactItemize}
